using System;
using System.Windows.Input;

namespace XEvolve.Presentation.Input.Internal
{
    internal sealed class XCommandBinding
    {
        public string Context { get; private set; }

        public ICommand Command { get; private set; }
        
        public ICommandHandler Handler { get; internal set; }

        internal Type HandlerType { get; private set; }

        public XCommandBinding(string context, ICommand command, Type handlerType)
        {
            Context = context;
            Command = command;
            HandlerType = handlerType;
        }
    }
}